﻿using UnityEngine;
using System.Collections;

public class DelayShow : MonoBehaviour {
	public float delayTime = 1.0f;
	// Use this for initialization
	void Start () {
		this.gameObject.SetActive (false);
		Invoke ("Show", delayTime);
	}
	

	void Show () {
		this.gameObject.SetActive (true);
	}

	void OnDestroy()
	{
		this.CancelInvoke ();
	}
}
